package com.sjn.util.encrytion;


/**
 * 算法加工类
 */

public abstract class AddEncryption extends DataEncryption {
    private DataEncryption dataEncryption;

    public AddEncryption(DataEncryption dataEncryption) {
        this.dataEncryption = dataEncryption;
    }

    public DataEncryption getDataEncryption() {
        return dataEncryption;
    }

    public void setDataEncryption(DataEncryption dataEncryption) {
        this.dataEncryption = dataEncryption;
    }

    //继承加密算法
    public abstract String encryption();
}
